package edu.zut.hb.software.teach.echo.service.impl;

import edu.zut.hb.software.teach.echo.domain.EchoMessage;
import edu.zut.hb.software.teach.echo.service.EchoManager;

public class EchoManagerImpl implements EchoManager {

	@Override
	public String echo(String message) {
		String result = "Hello, " + message + " !";
		return result;
	}

	@Override
	public EchoMessage echoMessage(EchoMessage message) {
		String content = "World";
		message.setText("Hello, " + content + " !");
		return message;
	}

}
